package com.crazyzoo.Zhong;

public class BigDog {
    private String id;
    private String name;
    private String color;
    private String  eatinghabit;
    private String  sounds;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getEatinghabit() {
        return eatinghabit;
    }

    public void setEatinghabit(String eatinghabit) {
        this.eatinghabit = eatinghabit;
    }

    public String getSounds() {
        return sounds;
    }

    public void setSounds(String sounds) {
        this.sounds = sounds;
    }

    @Override
    public String toString() {
        return  "-------------------------------------" + '\n' +
                "动物类名：Bigdog" +'\n'+
                "动物id：" + id + '\n' +
                "动物姓名：" + name + '\n' +
                "动物颜色：" + color + '\n' +
                "动物饮食习惯：" + eatinghabit + '\n' +
                "动物声音：" + sounds + '\n' ;
    }
    public void speak() {
        System.out.println("汪");
    }
}
